export const method = {
    title: "方法",
    options: [
        {
            label: "方法名",
            prop: "name",
            width: "150px"
        },
        {
            label: "类型",
            prop: "type",
            width: "200px",
        },
        {
            label: "参数说明",
            prop: "argument",
        },
        {
            label: "方法作用",
            prop: "explain",
        }
    ],
    data: [
        {
            name: "fire",
            type: "(ammo) => void",
            argument: "参考 ammo 类型",
            explain: "发射烟花",
        },
        {
            name: "createShards",
            type: "(shard[]) => void",
            argument: "参考 shard 类型",
            explain: "创建爆炸弹片组",
        },
        {
            name: "getShape",
            type: "(option: {x: number, y: number}, shapes?: Array<string>) => shard[]",
            argument: "shapes: 数组项参考 shape 可选值",
            explain: "获取内置形状对应的弹片数组",
        }
    ]
}